import '@/assets/style/index.less'
import config from '@/config'
import '@/libs/directives'
import '@/utils/back'
import 'amfe-flexible'
// import '@/assets/style/base/video.less'
import * as echarts from 'echarts'
import * as filters from './libs/filter'
import 'quill/dist/quill.bubble.css'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import Vant, { Lazyload } from 'vant'
import 'video.js/dist/video-js.css'
import Vue from 'vue'
import VideoPlayer from 'vue-video-player'
import 'vue-video-player/src/custom-theme.css'
import App from './App.vue'
import './components/Global/index_'
import router from './router'
import store from './store'
Vue.use(Lazyload)
Vue.use(Vant)
Vue.use(VideoPlayer)
// global.install()
Vue.prototype.$echarts = echarts
Vue.config.productionTip = false
Vue.prototype.$config = config
Object.keys(filters).forEach(key => Vue.filter(key, filters[key]))
Vue.prototype.$eventBus = new Vue()

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
